package data
{
	import mx.collections.ArrayCollection;
	
	public class RSSDATA
	{
		
		// all the categories
		[Bindable]
		public static var categories:Array = new Array("Internet", "Multimedia", "News");
		
		// var containing the selected feed from the datagrid
		[Bindable]
		public static var currentFeedUrl:String;
		
		
		
		// htservice to establish connection
		// [Bindable]
		// public static var feedService:HTTPService;
		
		// arrays containing category, url, name of feed.
		[Bindable]
		public static var cat_inet:Array = new Array(
				{category:'Internet', url:'http://www.heise.de/newsticker/heise-atom.xml', name:'Heise Newsticker'},
				{category:'Internet', url:'http://rss.golem.de/rss.php?feed=RSS2.0', name:'Golem - Alle News 2'},
				{category:'Internet', url:'http://rss.golem.de/rss.php?feed=RSS2.0', name:'Golem - Alle News 3'},
				{category:'Internet', url:'http://rss.golem.de/rss.php?feed=RSS2.0', name:'Golem - Alle News 4'},
				{category:'Internet', url:'http://rss.golem.de/rss.php?feed=RSS2.0', name:'Golem - Alle News 5'});
		
		[Bindable]		
		public static var cat_media:Array = new Array(
				{category:'Multimedia', url:'http://rss.golem.de/rss.php?tp=av&feed=RSS2.0', name:'Audio & Video - Alle News 1'},
				{category:'Multimedia', url:'http://rss.golem.de/rss.php?tp=av&feed=RSS2.0', name:'Audio & Video - Alle News 2'},
				{category:'Multimedia', url:'http://rss.golem.de/rss.php?tp=av&feed=RSS2.0', name:'Audio & Video - Alle News 3'});
		
		[Bindable]		
		public static var cat_news:Array = new Array(
				{category:'News', url:'http://www.spiegel.de/schlagzeilen/rss/0,5291,,00.xml', name:'Spiegel Alle News'},
				{category:'News', url:'http://feeds.guardian.co.uk/theguardian/rss', name:'The Guardian - All News'},
				{category:'News', url:'http://rss.golem.de/rss.php?tp=pol&feed=RSS2.0', name:'News 1'},
				{category:'News', url:'http://rss.golem.de/rss.php?tp=pol&feed=RSS2.0', name:'News 1'});
				
		
		public function RSSDATA()
		{
			//TODO: implement function
		}

	}
}